﻿using System;
using System.Text.RegularExpressions;

namespace mklib.json
{
	/// <summary>
	/// Json语义字符定义
	/// </summary>
	public static class JsonTokenConfig
	{
		/// <summary>
		/// 转义字符
		/// </summary>
		public const char IgnoreChar = '\\';

		/// <summary>
		/// 直接量关键字
		/// </summary>
		public const string Keywords = "null,true,false";

		public static Regex NumberRegex = new Regex (@"^\-?(\d|[1-9]\d+|\d+\.\d+)([eE]\-?\d+)?$", RegexOptions.Compiled);
				
	}
}

